home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / parisc / include / asm / timex.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  328 b   |  21 lines

  1. /*
  2.  * linux/include/asm-parisc/timex.h
  3.  *
  4.  * PARISC architecture timex specifications
  5.  */
  6. #ifndef _ASMPARISC_TIMEX_H
  7. #define _ASMPARISC_TIMEX_H
  8.  
  9. #include <asm/system.h>
  10.  
  11. #define CLOCK_TICK_RATE    1193180 /* Underlying HZ */
  12.  
  13. typedef unsigned long cycles_t;
  14.  
  15. static inline cycles_t get_cycles (void)
  16. {
  17.     return mfctl(16);
  18. }
  19.  
  20. #endif
  21.